body {
    margin:0;
    padding:0;
}

* {
    box-sizing: border-box;
}

.main-top {
    height: 66px;
    padding: 0 5%;
    border-bottom: 1px solid gainsboro;
}

.main-body {
    background-color: white;
    position: fixed;
    top: 51px;
    bottom: 65px;
    width: 100%;
    overflow-y: scroll;
    /*scrollbar-3dlight-color: ;*/
}

.chatRoomInfo {
    clear:both;
    padding: 6px 0 0 6px;
    font-size: 12px;
    color: #666;
}

.chatRoomTip {
    clear:both;
    text-align: center;
    padding-top: 6px;
    font-size: 12px;
    color: #444;
}

.me {
    clear:both;
    width: 100%;
    padding-top: 6px;
    min-height: 38px;
    min-width: 36px;
}

.me span {
    float: right;
    margin: 0 12px 6px;
    width: 100%;
    text-align: right;
}

.me div {
    float: right;
    min-height: 38px;
    min-width: 38px;
    max-width: 70%;
    line-height: 38px;
    padding: 0 15px;
    margin-right: 12px;
    word-break: break-all;
    word-wrap:break-word;
    background-color: #ffcbcb;
    position: relative;
    border-radius: 6px;
}

.me div:after {
    content: "";
    position: absolute;
    right: -5px;
    top: 4px;
    width: 0;
    height: 0;
    border-top: solid transparent;
    border-left: 7px solid #ffcbcb;
    border-bottom: 4px solid transparent;
}

.others {
    clear:both;
    width: 100%;
    padding-top: 6px;
    min-height: 38px;
    min-width: 36px;
}

.others span {
    float: left;
    margin: 0 0 6px 12px;
    width: 100%;
}

.others div {
    float: left;
    min-height: 38px;
    min-width: 38px;
    max-width: 70%;
    line-height: 38px;
    padding: 0 15px;
    margin-left: 12px;
    word-break: break-all;
    word-wrap:break-word;
    background-color: #cac9ff;
    position: relative;
    border-radius: 6px;
}

.others div:after {
    content: "";
    position: absolute;
    left: -5px;
    top: 4px;
    width: 0;
    height: 0;
    border-top: solid transparent;
    border-right: 7px solid #cac9ff;
    border-bottom: 4px solid transparent;
}

.main-footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid gainsboro;
}
.input{
    float: left;
    width: 72%;
    height: 40px;
    margin: 12px 1% 0 5%;
    border: 1px solid #666666;
}
.input input{
    width: 100%;
    height: 35px;
    outline: none;
    border: none;
    font-size: 14px;
    color: #333;
    margin: 0;
}
.send{
    float: left;
    width: 18%;
    height: 40px;
    margin: 12px 0;
}